home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Utilities / Workspace / MonsterShelf / Source / ShelfView.h < prev    next >
Text File  |  1995-06-12  |  761b  |  39 lines

  1. #import <appkit/appkit.h>
  2.  
  3. #define NUM_MOUNT_SLOTS    8
  4.  
  5. @interface ShelfView : View 
  6. {
  7.     id        dragSourceView;
  8.     id        draggedView;
  9.     id        mountSlots[NUM_MOUNT_SLOTS];
  10.     NXPoint    defaultLoc;
  11.     NXColor    bgColor;
  12.     BOOL    useBGColor;
  13.     BOOL    enableGrid;
  14.     BOOL    keepSourceOnShelf;
  15. }
  16.  
  17. - (void) createViewForPath:(const char *) path at:(NXPoint *) point;
  18. - (void) removeViewForPath:(const char *) fullPath;
  19.  
  20. - deleteView:aView;
  21. - deselectAll:sender;
  22.  
  23. - setDragView:aView onEvent:(NXEvent *) e
  24.          withOffset:(NXPoint *) offset
  25.          atLocation:(const NXPoint *) location;
  26.  
  27. - (NXColor) backgroundColor;
  28.  
  29. - (unsigned int) gridValue;
  30. - setGridValue:(unsigned int) gridValue;
  31.  
  32. - (void) setGridEnabled:(BOOL) flag;
  33. - (BOOL) gridEnabled;
  34.  
  35. - readShelf;
  36. - writeShelf;
  37.  
  38. @end
  39.